#!/usr/bin/env python3
# filename: config.py

import os

URI = os.getenv("SQLALCHEMY_DATABASE_URI")

class config(object):
    """Base config class."""
    # WTF secret key
    SECRET_KEY = 'c1c554aff0eebbf0f45cb46c0427c9e7'
    # reCAPTCHA Public key and private key
    RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY")
    RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY")


class prodConfig(config):
    """Production config class."""
    pass


class devConfig(config):
    """Development config class."""
    # Open the Debug
    DEBUG = True
    # mysql connection
    SQLALCHEMY_DATABASE_URI = URI
    SQLALCHEMY_TRACK_MODIFICATIONS = False
